using System;
using System.Collections;
using System.Collections.Generic;

using DATA.Base;

namespace DATA.BusinessObjects
{
    public partial class Thamso : BusinessBase<int>
    {
        #region Declarations

		private int _soLuongKhachToiDaMotPhong = default(Int32);
		private string _soKhachTinhTheoDonGiaPhong = null;
		
		
		
		#endregion

        #region Constructors

        public Thamso() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_soLuongKhachToiDaMotPhong);
			sb.Append(_soKhachTinhTheoDonGiaPhong);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int SoLuongKhachToiDaMotPhong
        {
            get { return _soLuongKhachToiDaMotPhong; }
			set
			{
				OnSoLuongKhachToiDaMotPhongChanging();
				_soLuongKhachToiDaMotPhong = value;
				OnSoLuongKhachToiDaMotPhongChanged();
			}
        }
		partial void OnSoLuongKhachToiDaMotPhongChanging();
		partial void OnSoLuongKhachToiDaMotPhongChanged();
		
		public virtual string SoKhachTinhTheoDonGiaPhong
        {
            get { return _soKhachTinhTheoDonGiaPhong; }
			set
			{
				OnSoKhachTinhTheoDonGiaPhongChanging();
				_soKhachTinhTheoDonGiaPhong = value;
				OnSoKhachTinhTheoDonGiaPhongChanged();
			}
        }
		partial void OnSoKhachTinhTheoDonGiaPhongChanging();
		partial void OnSoKhachTinhTheoDonGiaPhongChanged();
		
        #endregion
    }
}
